#ifndef CMYBUTTON_H
#define CMYBUTTON_H

#include <QObject>
#include <QPushButton>
#include <QLabel>

class CMyButton : public QPushButton
{
    Q_OBJECT
public:
    CMyButton(QWidget *parent = nullptr);

    void set_Icon(const QString fileName);
    void set_Text(const QString text);
private:
    QLabel *m_pIconLabel;
    QLabel *m_pTextLabel;
};

#endif // CMYBUTTON_H
